(Al-Anfal) 8 : 39
وَقَاتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌ وَيَكُونَ الدِّينُ كُلُّهُ لِلَّهِ ۚ فَإِنِ انْتَهَوْا فَإِنَّ اللَّهَ بِمَا يَعْمَلُونَ بَصِيرٌ

And fight against them until there is no more sedition and the way of life becomes exclusively for Lord Allah; and if they retrieve, then indeed, Allah is watching whatever they are doing.